package com.systop.asset.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资产领用详情对象 asset_assignments_detail
 * 
 * @author mc
 * @date 2025-07-02
 */
public class AssetAssignmentsDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 领用详情ID */
    private Long id;

    /** 领用ID */
    private Long assignmentId;

    /** 资产ID */
    private Long assetsId;

    /** 资产图片 */
    private String pic;

    /** 资产名称 */
    private String name;

    /** 分类ID */
    private Long categoryId;

    /** 资产编码 */
    private String assetCode;

    /** 设备序列号 */
    private String serialNumber;

    /** 型号规格 */
    private String model;

    /** 位置ID */
    private Long locationId;

    /** 耗材ID */
    private Long materialId;

    /** 仓库ID */
    private Long warehouseId;
    /** 耗材领用数量 */
    private Integer materialNum;
    /** 耗材领用说明 */
    private String materialDesc;
    /** 耗材领用说明 */
    private Long inventoryId;

    public Long getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(Long inventoryId) {
        this.inventoryId = inventoryId;
    }

    public Integer getMaterialNum() {
        return materialNum;
    }

    public void setMaterialNum(Integer materialNum) {
        this.materialNum = materialNum;
    }

    public String getMaterialDesc() {
        return materialDesc;
    }

    public void setMaterialDesc(String materialDesc) {
        this.materialDesc = materialDesc;
    }





    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAssignmentId() {
        return assignmentId;
    }

    public void setAssignmentId(Long assignmentId) {
        this.assignmentId = assignmentId;
    }

    public Long getAssetsId() {
        return assetsId;
    }

    public void setAssetsId(Long assetsId) {
        this.assetsId = assetsId;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getAssetCode() {
        return assetCode;
    }

    public void setAssetCode(String assetCode) {
        this.assetCode = assetCode;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Long getLocationId() {
        return locationId;
    }

    public void setLocationId(Long locationId) {
        this.locationId = locationId;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assignmentId", getAssignmentId())
            .append("assetsId", getAssetsId())
            .append("pic", getPic())
            .append("name", getName())
            .append("categoryId", getCategoryId())
            .append("assetCode", getAssetCode())
            .append("serialNumber", getSerialNumber())
            .append("model", getModel())
            .append("locationId", getLocationId())
            .append("materialId", getMaterialId())
            .append("warehouseId", getWarehouseId())
            .toString();
    }
}
